import React from 'react'
import './ClickableBtn.css'

const ClickableBtn = props => {
    const {active,} = props

    const cls = active === 'false' ? 'clickable-btn' : 'clickable-btn clickable-btn-active'

    const btn = (
        <div
            className={cls}
            {...props}
        >
            {props.children}
        </div>
    )

    return btn
}

export default ClickableBtn
